import { request } from '@/api/request';
import { APIZP } from '@/common';

//获取
export const getBaseSetInfo = () =>
  request<{
    freeResumeMaxNum?: string | number;
    paidResumeEffectiveTime?: string | number;
  }>({
    method: 'get',
    url: `${APIZP}basicSetting/info`,
  });

//设置
export const setBaseInfo = (data: any) =>
  request({
    url: `${APIZP}basicSetting/edit`,
    data,
  });
